<template>
  <el-button @click="sendMessage">发送消息</el-button>
</template>
<script setup lang="ts">
import { useMessageStore } from '@/stores/browserMessage'
const store = useMessageStore()
const sendMessage = () => {
  store.messageExam.postMessage('数据改变了')
}
</script>
